package com.wangchao.administrator.zenmechi.ui.loginactivity;

import com.wangchao.administrator.zenmechi.base.IModle;
import com.wangchao.administrator.zenmechi.base.IPresenter;
import com.wangchao.administrator.zenmechi.base.IView;

import rx.Subscriber;

/**
 * Created by cbb on 2016/10/18.
 * Email: 1023151857@qq.com
 */
public class LoginContract {
    public interface View extends IView{
        void loginSuccess(String pwd);
        void loginFailed(String msg);
    }
    public interface Model extends IModle{
        void query(String id, Subscriber<String> pwd);
    }
    public interface Presnter extends IPresenter{
        void getLoginInfo(String id);
    }
}
